<?php
/*
	本插件：$this->model('model')->方法名();
	其他地方调用：model('jy_kongtiaoshop/model')->方法名();
*/
namespace jy_kongtiaoshop;
defined('BY_JYA') or exit('error');
class model extends \plugin{
	public function check_level(){
		return true;
	}
	public function current_level_up_types(){
		return str_array($this->setting['level_up_types']);
	}
	public function uppeiinfo($peiinfo=array()){
		return $peiinfo;
	}
	public function apihometypes(){
		$list=array(
			array('title'=>'客房','wfee1'=>'120','wfee2'=>'180'),
			array('title'=>'会议室','wfee1'=>'200','wfee2'=>'350'),
			array('title'=>'办公室','wfee1'=>'150','wfee2'=>'250'),
			array('title'=>'酒店、咖啡屋','wfee1'=>'250','wfee2'=>'400'),
			array('title'=>'商店','wfee1'=>'200','wfee2'=>'250'),
			array('title'=>'中餐厅','wfee1'=>'350','wfee2'=>'400'),
			array('title'=>'西餐厅','wfee1'=>'250','wfee2'=>'250'),
			array('title'=>'宴会厅','wfee1'=>'300','wfee2'=>'350'),
			array('title'=>'公寓、住宅','wfee1'=>'150','wfee2'=>'200'),
			array('title'=>'病房','wfee1'=>'150','wfee2'=>'200'),
			array('title'=>'会堂、报告厅','wfee1'=>'300','wfee2'=>'350'),
			array('title'=>'门厅、走道','wfee1'=>'120','wfee2'=>'180'),
			array('title'=>'图书阅览室','wfee1'=>'200','wfee2'=>'250'),
			array('title'=>'中展','wfee1'=>'180','wfee2'=>'250'),
			array('title'=>'银行','wfee1'=>'180','wfee2'=>'250'),
			array('title'=>'商场','wfee1'=>'200','wfee2'=>'300'),
			array('title'=>'美容、理发','wfee1'=>'180','wfee2'=>'250'),
			array('title'=>'健身房','wfee1'=>'200','wfee2'=>'300'),
			array('title'=>'保龄球房','wfee1'=>'200','wfee2'=>'300'),
			array('title'=>'室内游泳池','wfee1'=>'200','wfee2'=>'350'),
			array('title'=>'舞厅','wfee1'=>'300','wfee2'=>'400'),
			array('title'=>'棋牌室','wfee1'=>'250','wfee2'=>'300'),
			array('title'=>'一般手术室','wfee1'=>'180','wfee2'=>'250'),
			array('title'=>'洁净手术室','wfee1'=>'300','wfee2'=>'400'),
		);
		return $list;
	}
}
?>